<?php

/**
 * @author Terry & 千里孤坟
 * @copyright 2009
 */

class SptClass {
	public function __construct() {
		$this->id = -1;
		$this->name = "辅助类基类";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 0;
	}
	
	//起始函数，特殊型
	public function start($a,$b,$atkid,$defid,$defer) {		
		$this->checkex($a[$atkid]);
		CalHelper::cost_cal($a[$atkid],$this);
		$this->action($a[$atkid]);		
	}
	
	//行动函数
	public function action($a) {	
					
	}

	public function checkex($a) {
		if(isset($this->excid) && in_array($a->cid,$this->excid)) {
			$this->name = "<font color=blue>EX".$this->name."</font>";
			$this->ex = 1;
			$this->exskset();
		}
	}

	public function exskset() {
		return 1;
	}
	
	public function spec_action($a) {
		return 1;
	}
	
}

class SingleSptClass extends SptClass {
	public function __construct() {
		$this->id = -1;
		$this->name = "单体辅助类基类";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 0;
	}

	//起始函数，单体型
	public function start($a,$b,$atkid,$defid,$defer) {		
		$this->checkex($a[$atkid]);
		$sk = clone $this;
		CalHelper::cost_cal($a[$atkid],$sk);
		if(CalHelper::ifgroupskill($a[$atkid]) == 2 && $this->buffsk == 1) {
			$_SESSION['show'] .= $a[$atkid]->name."慈母の献身发动，能力上升效果延长一回合。<br>";
			$sk->bufftime = 1;
		}
		$sk->action($a[$atkid],$defer);		
	}
}

class AllSptClass extends SptClass {
	public function __construct() {
		$this->id = -1;
		$this->name = "全体辅助类基类";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 0;
	}

	//起始函数，全体简化型
	public function start($a,$b,$atkid,$defid,$defer) {
		
		$this->checkex($a[$atkid]);
		$sk = clone $this;
		CalHelper::cost_cal($a[$atkid],$this);

		if(CalHelper::ifgroupskill($a[$atkid]) == 2 && $this->buffsk == 1) {
			$_SESSION['show'] .= $a[$atkid]->name."慈母の献身发动，能力上升效果延长<br>";
			$sk->bufftime = 1;
		}
		$this->spec_action($a[$atkid]);
		if($sk->goal == 0) {	//对己方全体
			foreach($a as $d) {
				if($d->hp <= 0 || $d->escaping == 1) continue;
				$sk->action($a[$atkid],$d);
			}
		} else {
			foreach($b as $d) {	//对敌方全体
				if($d->hp <= 0 || $d->escaping == 1) continue;
				$sk->action($a[$atkid],$d);
			}
		}
	}

}

class GroundSptClass extends SptClass {

	public function __construct() {
		$this->id = -1;
		$this->name = "全场辅助类基类";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 0;
	}

	//起始函数，全场简化型
	public function start($a,$b,$atkid,$defid,$defer) {
		
		$this->checkex($a[$atkid]);
		$sk = clone $this;
		CalHelper::cost_cal($a[$atkid],$this);
		$c = array_merge($a,$b);
		$_SESSION['show'] .= $a[$atkid]->name."发动".$this->name."<br>";
		foreach($c as $d) {
			if($d->hp <= 0) continue;
			$sk = clone $this;
			$sk->action($a[$atkid],$d);
		}
	}

}

class StrUp extends SingleSptClass {

	public function __construct() {
		$this->id = 355;
		$this->name = "タルカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->buffsk = 1;
		$this->excid = array(134);
	}
	
	//行动函数
	public function action($a,$b) {
		if($a->cid == 134) {
			$_SESSION['show'] .= "故兵以詐立,以利動,以分合為變者也<br>其徐如林，侵掠如火!!<br>";
			CalHelper::cgdisplay('ming_strup.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::str_up_20($b,$this);
	}

}

class MgrUp extends SingleSptClass {

	public function __construct() {
		$this->id = 356;
		$this->name = "マカカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->buffsk = 1;
		$this->excid = array(9);
	}
	
	//行动函数
	public function action($a,$b) {
		if($a->cid == 9) {
			$_SESSION['show'] .= "以建速须佐之男之名命之，启动吧，事象兵器UROBOROS<br>";
			CalHelper::cgdisplay('wbook_ex.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::mgr_up_20($b,$this);
	}
}

class SpdUp extends SingleSptClass {

	public function __construct() {
		$this->id = 357;
		$this->name = "スクカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->buffsk = 1;
		$this->excid = array(21,104);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::spd_up_20($b,$this);			
	}
}

class VitUp extends SingleSptClass {

	public function __construct() {
		$this->id = 358;
		$this->name = "ラクカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->buffsk = 1;
		$this->excid = array(31,60);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::vit_up_20($b,$this);		
	}

}

class StrAllUp extends AllSptClass {

	public function __construct() {
		$this->id = 359;
		$this->name = "マハタルカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 0;	//全体目标，0为己方，1为对方
		$this->buffsk = 1;
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::str_up_20($b,$this);
	}

}

class MgrAllUp extends AllSptClass {

	public function __construct() {
		$this->id = 360;
		$this->name = "マハマカカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 0;	//全体目标，0为己方，1为对方
		$this->buffsk = 1;
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::mgr_up_20($b,$this);
	}

} 

class SpdAllUp extends AllSptClass {

	public function __construct() {
		$this->id = 361;
		$this->name = "マハスクカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 0;	//全体目标，0为己方，1为对方
		$this->buffsk = 1;
	}

	//行动函数
	public function action($a,$b) {
		if($a->cid == 43) {
			$_SESSION['show'] .= "风神庇佑，雷霆之军势！<br>";
			CalHelper::cgdisplay('lili_10.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::spd_up_20($b,$this);
	}

}

class VitAllUp extends AllSptClass {

	public function __construct() {
		$this->id = 362;
		$this->name = "マハラクカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 0;	//全体目标，0为己方，1为对方
		$this->buffsk = 1;
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::vit_up_20($b,$this);
	}

}

class HeatRiser extends SingleSptClass {

	public function __construct() {
		$this->id = 363;
		$this->name = "ヒートライザ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 9;
		$this->buffsk = 1;
		$this->excid = array(7,8);
	}
	
	public function exskset() {
		$this->sp = 90;
		$this->ap = 8;
	}

	//行动函数
	public function action($a,$b) {
		if($a->cid == 7) {
			CalHelper::spec_talk($this,1,"暴风雨前的宁静...");
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::all_up_20($b,$this);
	}
	
}


class StrDown extends SingleSptClass {

	public function __construct() {
		$this->id = 364;
		$this->name = "タルンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->excid = array(28);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::str_down_20($b,$this);
	}

}

class MgrDown extends SingleSptClass {

	public function __construct() {
		$this->id = 365;
		$this->name = "マカンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->excid = array(13);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::mgr_down_20($b,$this);		
	}

}

class SpdDown extends SingleSptClass {

	public function __construct() {
		$this->id = 366;
		$this->name = "スクンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->excid = array(35);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::spd_down_20($b,$this);
	}

}

class VitDown extends SingleSptClass {

	public function __construct() {
		$this->id = 367;
		$this->name = "ラクンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 3;
		$this->excid = array(12,140);
	}
	
	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::vit_down_20($b,$this);		
	}

}

class StrAllDown extends AllSptClass {

	public function __construct() {
		$this->id = 368;
		$this->name = "マハタルンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 1;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::str_down_20($b);
	}
}

class MgrAllDown extends AllSptClass {

	public function __construct() {
		$this->id = 369;
		$this->name = "マハマカンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 1;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::mgr_down_20($b);
	}

}

class SpdAllDown extends AllSptClass {

	public function __construct() {
		$this->id = 370;
		$this->name = "マハスクンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 1;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::spd_down_20($b);
	}

}

class VitAllDown extends AllSptClass {

	public function __construct() {
		$this->id = 371;
		$this->name = "マハラクンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 5;
		$this->goal = 1;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::vit_down_20($b);
	}

}

class RandaMiser extends SingleSptClass {

	public function __construct() {
		$this->id = 372;
		$this->name = "ランダマイザ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 9;
		$this->excid = array(17,42,85);
	}

	public function exskset() {
		$this->sp = 90;
		$this->ap = 8;
	}
	
	//行动函数
	public function action($a,$b) {
		if($a->cid == 85) {
			$_SESSION['show'] .= "全て腐れ。塵となれ。<br>";
			CalHelper::cgdisplay('cancer_6.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::all_down_20($b);			
	}

}


class AllUpVanish extends AllSptClass {

	public function __construct() {
		$this->id = 373;
		$this->name = "デカジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 4;
		$this->goal = 1;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::goodestroy($b);
		$_SESSION['show'] .= $b->name."的有利效果已被完全打消<br>";
	}
}

class AllDownVanish extends AllSptClass {

	public function __construct() {
		$this->id = 374;
		$this->name = "デクンダ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 4;
		$this->goal = 0;	//全体目标，0为己方，1为对方
	}

	//行动函数
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::badestroy($b);
		$_SESSION['show'] .= $b->name."的不利效果已被完全打消<br>";
	}

}

class AllCrtUp1 extends GroundSptClass {
	
	public function __construct() {
		$this->id = 375;
		
		$this->name = "リベリオン";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 30;
		$this->ap = 4;
	}
	
	public function action($a,$b) {
		StatusHelper::AllCrtUp1($b);			
	}
	
}

class AllCrtUp2 extends GroundSptClass {
	
	public function __construct() {
		$this->id = 376;
		
		$this->name = "レボリューション";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 4;
	}
	
	public function action($a,$b) {
		StatusHelper::AllCrtUp2($b);			
	}
	
}

class CrtUpPrediction extends SingleSptClass {
	
	public function __construct() {
		$this->id = 377;
		
		$this->name = "会心の予言";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 5;
		$this->excid = array(69,82,152);
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::crtup($b,$this);
	}
	
}

class ChargeUp extends SingleSptClass {

	public function __construct() {
		$this->id = 378;
		$this->name = "チャージ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 8;
	}
	
	public function action($a,$b) {
		if($a->cid == 134) {
			$_SESSION['show'] .= "我是空,我是鋼,我是刃!!<br>我將在一擊中斬斷所有的罪和惡!<br>";
			CalHelper::cgdisplay('ming_charge.jpg');
		}
		$_SESSION['show'] .= $a->name."发动".$this->name."<br>";
		StatusHelper::phydmgdouble($a);
	}

}

class Concentrate extends SingleSptClass {

	public function __construct() {
		$this->id = 379;
		$this->name = "コンセントレイト";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 8;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."发动".$this->name."<br>";
		StatusHelper::mgrdmgdouble($a);
	}

}

class DoubleCharge extends SingleSptClass {

	public function __construct() {
		$this->id = 380;
		$this->name = "トリプルチャージ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 110;
		$this->ap = 11;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."发动".$this->name."<br>";
		StatusHelper::phydmgdouble($a);
		StatusHelper::mgrdmgdouble($a);
		//StatusHelper::doubledmgdouble($a);
	}

}

class CurseWord extends SingleSptClass {

	public function __construct() {
		$this->id = 381;
		$this->name = "呪いの言霊";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 4;
	}
	
	public function action($a,$b) {
		StatusHelper::doubledestory($b);
		$_SESSION['show'] .= $b->name."的蓄力集中效果被打消了。<br>";
	}

}

class BraveDance extends SingleSptClass {

	public function __construct() {
		$this->id = 392;
		$this->name = "勇奮の舞";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 6;
		$this->buffsk = 1;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."跳起奋勇的舞姿<br>";
		if($a->cid == 123) {
			CalHelper::cgdisplay('slili_dance.jpg');
		}
		StatusHelper::str_up_30($b,$sk);
	}

}

class SkyDance extends SingleSptClass {

	public function __construct() {
		$this->id = 393;
		$this->name = "天上の舞";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 6;
		$this->buffsk = 1;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."跳起轻灵的舞姿<br>";
		if($a->cid == 123) {
			CalHelper::cgdisplay('slili_dance.jpg');
		}
		StatusHelper::mgr_up_30($b);			
	}

}

class SaintSong extends SingleSptClass {

	public function __construct() {
		$this->id = 394;
		$this->name = "聖者の歌";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 6;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."吟唱圣歌。<br>";
		if($b->before_status[47]->on == 1) {
			$_SESSION['show'] .= $this->name."对".$b->name."生效中，不能重复发动。";
		} else {
			$b->before_status[47]->on = 1;
			$_SESSION['show'] .= $b->name."暂时获得异常免疫能力。<br>";
		}
	}

}

class PhyMirror extends SingleSptClass {

	public function __construct() {
		$this->id = 395;
		$this->name = "テトラカーン";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 6;
		$this->excid = array(46,76);
	}
	
	public function exskset() {
		$this->ap = 7;
	}

	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		$b->defskill_status[23]->on = 1;
		if($this->ex == 1) {
			$b->defskill_status[23]->ex = 1;
		}
	}

}

class MgrMirror extends SingleSptClass {

	public function __construct() {
		$this->id = 396;
		$this->name = "マカラカーン";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 6;
		$this->excid = array(40,77);
	}
	
	public function exskset() {
		$this->ap = 7;
	}

	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		$b->defskill_status[24]->on = 1;
		if($this->ex == 1) {
			$b->defskill_status[24]->ex = 1;
		}
	}

}

class DeadDefend extends SingleSptClass {

	public function __construct() {
		$this->id = 397;
		$this->name = "テトラジャ";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 4;
	}

	public function action($a,$b) {
		if($a->cid == 105 && $b->cid == 56) {
			$_SESSION['show'] .= "这样的话，就没问题了<br>";
			CalHelper::cgdisplay('gsilver_dmirror.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		$b->eventskill_status[23]->on = 1;
	}
}

class GuardShield extends SingleSptClass {

	public function __construct() {
		$this->id = 398;
		$this->name = "護りの盾";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 5;
		$this->excid = array(32,41,83);
	}

	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."发动".$this->name."<br>";
		$a->defskill_status[7]->on = 1;
		if($this->ex == 1) {
			$a->defskill_status[7]->ex = 1;
		}
	}
}

class GoddShield extends AllSptClass {

	public function __construct() {
		$this->id = 399;
		$this->name = "女神の大盾";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 120;
		$this->ap = 8;
		$this->excid = array(22,48,150);
		$this->goal = 0;
	}

	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		$b->defskill_status[9]->on = 1;
		if($this->ex == 1) {
			$b->defskill_status[9]->ex = 1;
		}
	}
}

class BattleArrayMaster extends SingleSptClass {

	public function __construct() {
		$this->id = 551;
		$this->name = "布陣の極意";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 9;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::phydmgdouble($b);
	}

}

class ConsecrateSoul extends SingleSptClass {

	public function __construct() {
		$this->id = 552;
		$this->name = "捧魂の法";			//技能名称
		$this->type = 13;				//组别		
	
		$this->hp = 0;			//消耗
		$this->sp = 100;
		$this->ap = 9;
	}
	
	public function action($a,$b) {
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		StatusHelper::mgrdmgdouble($b);
	}

}

?>
